package com.hushan.elevator.model;
import jakarta.persistence.*;
import lombok.Data;

import java.time.LocalDateTime;
/**
 * @Author: zzy
 * @Date: 2024/10/22 22:13
 * @Title:
 * @Version:
 * @Package: com.hushan.elevator.model
 */
@Entity
@Data
@Table(name = "device_mnt_person")
// 设备与维修人员绑定表
public class DeviceMntPerson {

    @EmbeddedId
    private DeviceMntPersonPK userRolePK;

    @Column(name = "created_time")
    private LocalDateTime createdTime;

    @Column(name = "updated_time")
    private LocalDateTime updatedTime;

    private Integer createdBy;

}